home *** CD-ROM | disk | FTP | other *** search
/ Fritz: All Fritz / All Fritz.zip / All Fritz / FILES / LOTTORTS / NFLTRACK.LZH / T-N-T.EXE / INSTALL.BAT < prev    next >
DOS Batch File  |  1992-04-06  |  2KB  |  98 lines

  1. @echo off
  2. rem Setup file for The NFL Tracker
  3. rem (c) September 9, 1989 Micro Moonlighters
  4. rem All Rights Reserved
  5. cls
  6. echo  
  7. echo                   The NFL Tracker Installation Procedure
  8. echo  
  9. echo This batch file will setup The NFL Tracker from Micro Moonlighters
  10. echo into a subdirectory called TNT on your hard disk.
  11. echo  
  12. echo If your hard disk is designated by a letter other than C:, then exit
  13. echo this batch file by pressing Control+C, then restart TNTINSTL and specify
  14. echo the letter of your hard disk as an argument.  For example, if your
  15. echo hard disk is drive D:, then invoke setup by typing...
  16. echo  
  17. echo INSTALL D:
  18. echo  
  19. echo If you would like to install T.N.T. on a directory other than \TNT,
  20. echo this can be accomplished by adding a second parameter.  For example, if
  21. echo your hard disk is C: and the directory you wish to install into is
  22. echo C:\SHAREWRE\TNT, issue the command as follows...
  23. echo  
  24. echo INSTALL C: SHAREWRE\TNT
  25. echo  
  26.  
  27. if .%1 == . goto cont0
  28. if .%2 == . goto cont2
  29. echo If you continue, TNT will be installed on %1\%2.  If this
  30. echo is not correct hit CTRL+C to abort the installation.
  31. goto cont3
  32.  
  33. :cont2
  34. echo If you continue, TNT will be installed on %1\TNT.  If this
  35. echo is not correct hit CTRL+C to abort the installation.
  36.  
  37. :cont3
  38. echo  
  39. pause
  40. goto main
  41.  
  42. :cont0
  43. echo If you continue, TNT will be installed on C:\TNT.  If this
  44. echo is not correct hit CTRL+C to abort the installation.
  45. echo  
  46. pause
  47.  
  48. :main
  49. if .%1 == . goto default1
  50. if .%2 == . goto maindir
  51. cls
  52. echo  
  53. echo INSTALL is now copying files to %1\%2
  54. echo  
  55. mkdir %1\%2
  56. rem  Copy self-extracting ZIP file, execute it, and delete it.
  57. copy T-N-T.EXE %1\%2
  58. %1
  59. cd \%2
  60. T-N-T
  61. del T-N-T.EXE
  62. goto done
  63.  
  64. :maindir
  65. cls
  66. echo  
  67. echo INSTALL is now copying files to %1\TNT
  68. echo  
  69. mkdir %1\TNT
  70. rem  Copy self-extracting ZIP file, execute it, and delete it.
  71. copy T-N-T.EXE %1\TNT
  72. %1
  73. cd \TNT
  74. T-N-T
  75. del T-N-T.EXE
  76. goto done
  77.  
  78. :default1
  79. cls
  80. echo  
  81. echo INSTALL is now copying files to C:\TNT
  82. echo  
  83. mkdir C:\TNT
  84. rem  Copy self-extracting ZIP file, execute it, and delete it.
  85. copy T-N-T.EXE C:\TNT
  86. C:
  87. cd \TNT
  88. T-N-T
  89. del T-N-T.EXE
  90. goto done
  91.  
  92. :done
  93. cls
  94. echo  
  95. echo The NFL Tracker (T.N.T.) is now installed.
  96. echo To start The NFL Tracker, type TNT and press the Enter key.
  97. echo  
  98.